/*
 * Copyright 2021-2030 itbox.cn All right reserved. This software is the confidential and proprietary information
 * of itbox.cn ("Confidential Information"). You shall not disclose such Confidential Information and shall use it
 * only in accordance with the terms of the license agreement you entered into with itbox.cn.
 */
package cn.itbox.example.application.service.impl;

import cn.itbox.example.application.config.ThreadPoolConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * @BelongProject springboot-study
 * @BelongPackage cn.itbox.example.application.service.impl
 * @Description TODO
 * @ClassName RoleCommandServiceImpl
 * @Author xingc
 * @Date 2023/11/26 23:14
 * @Version 1.0.0
 */
@Slf4j
@Service
public class HomeService {

    @Async(ThreadPoolConfig.COMMON_THREAD_POOL_NAME)
    public void testAsync() {

        log.info("HomeService  testAsync 测试异步线程");
    }
}
